package com.cm.figure.model;

/**
 * ClassName:Pageing
 * Package:com.cm.figure.model
 * Description:
 *
 * @Date:2021/8/21 22:13
 * @com.chuangmei
 */
public class Pageing {

    private Long currentPage;
    private Long pageSize;
    private Long total;

    public Pageing() {
    }

    public Pageing(Long currentPage, Long pageSize, Long total) {
        this.currentPage = currentPage;
        this.pageSize = pageSize;
        this.total = total;
    }

    public Long getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Long currentPage) {
        this.currentPage = currentPage;
    }

    public Long getPageSize() {
        return pageSize;
    }

    public void setPageSize(Long pageSize) {
        this.pageSize = pageSize;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    @Override
    public String toString() {
        return "Pageing{" +
                "currentPage=" + currentPage +
                ", pageSize=" + pageSize +
                ", total=" + total +
                '}';
    }
}
